import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class QuestionDetails {
	@PrimaryGeneratedColumn("uuid")
	question_details_id: string;

	@Column('text')
	question_id: string;

	@Column({ type: 'text', comment: '提问者' })
	editor: string;

	@Column({ type: 'text', comment: '描述信息' })
	message: string;

	@Column({ type: 'bigint', comment: '提问时间' })
	edit_time: number;

	@Column({ type: 'text', comment: '参数' })
	params: string;

	@Column({ type: 'text', comment: '返回信息' })
	returns: string;

}